package com.csproj.dispatch.service.mapper;

import com.csproj.dispatch.domain.WarnInfo;
import com.csproj.dispatch.service.dto.WarnInfoDTO;
import com.csproj.siiat.service.mapper.EntityMapper;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity WarnInfo and its DTO WarnInfoDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface WarnInfoMapper extends EntityMapper<WarnInfoDTO, WarnInfo> {

    

    

    default WarnInfo fromId(String id) {
        if (id == null) {
            return null;
        }
        WarnInfo warnInfo = new WarnInfo();
        warnInfo.setId(id);
        return warnInfo;
    }
}
